<template>
  <div>
    <router-view></router-view>
    <van-tabbar active-color="#ee0a24" inactive-color="#000" route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="list-switching" to="/classify"
        >分类</van-tabbar-item
      >
      <van-tabbar-item icon="shopping-cart-o" to="/cart"
        >购物车</van-tabbar-item
      >
      <van-tabbar-item icon="contact-o" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: 'indexCom',
  components: {},
  data () {
    return {}
  },
  computed: {},
  methods: {},
  created () {}
}
</script>
<style lang="less"></style>
